/***********************************************************
 * Product Name: ExcelQuicker
 * Copyright (c)2005, Eunge
 * Author: Eunge
 * Web Site: www.eudev.net
 * Mail/MSN: eudev.net@yeah.net
 * ********************************************************/
using System;

namespace ExcelQuicker.Framework
{
	/// <summary>
	/// The base class of all text models, refering all text, string and coordinator
	/// </summary>
	[Serializable]
	public abstract class EQTextBase: EQRangeBase
	{
		private EQStyleBaseCollection mStyle = new EQStyleBaseCollection();

		/// <summary>
		/// Set/Get the style collection
		/// </summary>
		public EQStyleBaseCollection Style
		{
			get
			{
				return this.mStyle;
			}
		}

		/// <summary>
		/// Add new style
		/// </summary>
		/// <param name="objEQStyleBase"></param>
		public void AddStyle(EQStyleBase objEQStyleBase)
		{
			this.Style.Add(objEQStyleBase);
		}
	}
}
